/**
 * hash table demo test
 */
package cn.netjava.softkid.chapter08;

/**
 * @author softkid
 *
 */
public class HashtableDemoTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		HashtableDemo htd = new HashtableDemo();
		htd.addElement(1, "a");
		htd.addElement(2, "b");
		htd.addElement(3, "c");
		htd.addElement(4, "d");
		htd.addElement(1, "w");
		htd.addElement(1, "x");
		htd.deleteElement(2);
		htd.outputAllElements();
		htd.outputMapping();
	}

}
